dnl Process this file with autoconf to produce a configure script.
dnl Created by Anjuta application wizard.

AC_INIT(doitrd, 0.1)

AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
AC_CONFIG_HEADERS([config.h])
AM_MAINTAINER_MODE

AC_ISC_POSIX
AC_PROG_CC
AM_PROG_CC_STDC
AC_HEADER_STDC
AC_PATH_XTRA
AC_CHECK_FUNCS([gettimeofday])
AC_CHECK_FUNCS([getpid])
AC_CHECK_FUNCS([getppid])
AC_CHECK_FUNCS([geteuid])
AC_CHECK_FUNCS([getegid])




AC_CHECK_LIB(nsl, gethostname)
AC_CHECK_LIB(nsl, gethostbyname)
AC_CHECK_LIB(socket, accept)
AC_CHECK_LIB(inet6, getaddrinfo)
AC_CHECK_HEADERS(string.h sys/types.h sys/socket.h netdb.h netinet/in.h)
AC_CHECK_FUNCS(inet_addr inet_aton inet_pton inet_ntoa inet_ntop snprintf getaddrinfo)
dnl AC_CHECK_TYPEDEF(socklen_t, sys/socket.h)
dnl SA_CHECK_TYPEDEF(ssize_t, sys/types.h)





dnl ***************************************************************************
dnl Internatinalization
dnl ***************************************************************************
GETTEXT_PACKAGE=doitrd
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
AM_GLIB_GNU_GETTEXT
IT_PROG_INTLTOOL([0.35.0])


AM_PROG_LIBTOOL


AC_OUTPUT([
Makefile
src/Makefile
po/Makefile.in
])
